<%@page pageEncoding="UTF-8" isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>
<c:import url="/layout.jsp">
<c:param name="title" value="Timezone Index"/>
<c:param name="content">
<script type="text/javascript" src="this.js"></script>

<fmt:setTimeZone value="${f:timeZone()}"/>
<a href="${f:url('change?timeZone=UTC')}">UTC</a>
<a href="${f:url('change?timeZone=PST')}">PST</a>
<a href="${f:url('change?timeZone=JST')}">JST</a><br />
Current time zone: ${timeZone}<br />
Now: <fmt:formatDate value="${now}" type="both" dateStyle="full" timeStyle="full" />
</c:param>
</c:import>
